package com.kh.pojo;

import java.util.List;

public class MenuPoJo {

	private Long id;// bigint(20) AUTO_INCREMENT ,
	private String name;// varchar(32) comment "菜单名称",
	private String url;// varchar(32) comment "地址",
	private Long parentId;// bigint(20) comment "父id",
	private Long orderNum;// bigint(20) comment "序号，排序",
	private List<MenuPoJo> children;
	// PRIMARY KEY (`id`)
	// );
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public Long getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Long orderNum) {
		this.orderNum = orderNum;
	}
	public List<MenuPoJo> getChildren() {
		return children;
	}
	public void setChildren(List<MenuPoJo> children) {
		this.children = children;
	}
	
	
}
